<?php
/**
 * Klasse zur Erzeugung eines Modal-Headers
 *
 * @author		Joachim Ruf, Loresoft Software (http://www.loresoft.de)
 * @license		New BSD License
 * @version		Class for Bootstrap v2.3.2
 *
 * */


Class Bootstrap_Modal_Header
{
	private $useButtonClose	= '';
	private $headline		= '<h3>&nbsp;</h3>';


	/**
	 *
	 * */
	function __construct () {

	}


	public function useButtonClose ($_text = 'x') {
		return $this->useButtonClose = '<button type="button" class="close" data-dismiss="modal" aria-hidden="true">'.$_text.'</button>';
	}

	public function getButtonClose () {
		return $this->useButtonClose;
	}

	public function setHeadline ($_headline) {
		return $this->headline = '<h3>'.$_headline.'</h3>';
	}

	public function getHeadline () {
		return $this->headline;
	}


}


?>